using B.S.XZYData.Domain.Inventory;

namespace B.S.XZYData.Api.Read.DTO
{
    /// <summary>
    /// 库存余额数据传输对象
    /// </summary>
    public class BalanceDTO : BalanceModel
    {
        /// <summary>
        /// 库存状态
        /// </summary>
        public string StockStatus { get; set; } = string.Empty;

        /// <summary>
        /// 库存状态描述
        /// </summary>
        public string StockStatusDescription { get; set; } = string.Empty;

        /// <summary>
        /// 是否需要补货
        /// </summary>
        public bool NeedReplenishment { get; set; }

        /// <summary>
        /// 是否需要减少库存
        /// </summary>
        public bool NeedReduceStock { get; set; }

        /// <summary>
        /// 库存利用率（当前库存/最大库存）
        /// </summary>
        public decimal StockUtilizationRate { get; set; }

        /// <summary>
        /// 安全库存覆盖率（当前库存/安全库存）
        /// </summary>
        public decimal SafetyStockCoverage { get; set; }
    }
}
